package com.mod.pojo;

import java.math.BigInteger;
import java.sql.Timestamp;

/**
 * 存储评论
 * 
 * @author mod
 * @version 1.1
 */
public class comment {
	
	private static String tableName="comments";
	private long commentID; // 自增唯一ID
	private long commentPostID; // 对应文章ID
	private String commentAuthor;// 评论者
	private String commentAuthorEmail; // 评论者邮箱
	private String commentAuthorUrl; // 评论者网址
	private String commentAuthorIP; // 评论者IP
	private Timestamp commentDate; // 评论时间
	private Timestamp commentDate_gmt;// 评论时间（GMT+0时间）
	private String commentContent;// 评论正文
	private int commentKarma;
	private String commentApproved;// 评论是否被批准
	private String commentAgent;// 评论者的USER AGENT
	private String commentType;// 评论类型(pingback/普通)
	private long commentParent;// 父评论ID
	private long userId;// 评论者用户ID（不一定存在）
	public long getCommentID() {
		return commentID;
	}
	public void setCommentID(long commentID) {
		this.commentID = commentID;
	}
	public long getCommentPostID() {
		return commentPostID;
	}
	public void setCommentPostID(long commentPostID) {
		this.commentPostID = commentPostID;
	}
	public String getCommentAuthor() {
		return commentAuthor;
	}
	public void setCommentAuthor(String commentAuthor) {
		this.commentAuthor = commentAuthor;
	}
	public String getCommentAuthorEmail() {
		return commentAuthorEmail;
	}
	public void setCommentAuthorEmail(String commentAuthorEmail) {
		this.commentAuthorEmail = commentAuthorEmail;
	}
	public String getCommentAuthorUrl() {
		return commentAuthorUrl;
	}
	public void setCommentAuthorUrl(String commentAuthorUrl) {
		this.commentAuthorUrl = commentAuthorUrl;
	}
	public String getCommentAuthorIP() {
		return commentAuthorIP;
	}
	public void setCommentAuthorIP(String commentAuthorIP) {
		this.commentAuthorIP = commentAuthorIP;
	}
	public Timestamp getCommentDate() {
		return commentDate;
	}
	public void setCommentDate(Timestamp commentDate) {
		this.commentDate = commentDate;
	}
	public Timestamp getCommentDate_gmt() {
		return commentDate_gmt;
	}
	public void setCommentDate_gmt(Timestamp commentDate_gmt) {
		this.commentDate_gmt = commentDate_gmt;
	}
	public String getCommentContent() {
		return commentContent;
	}
	public void setCommentContent(String commentContent) {
		this.commentContent = commentContent;
	}
	public int getCommentKarma() {
		return commentKarma;
	}
	public void setCommentKarma(int commentKarma) {
		this.commentKarma = commentKarma;
	}
	public String getCommentApproved() {
		return commentApproved;
	}
	public void setCommentApproved(String commentApproved) {
		this.commentApproved = commentApproved;
	}
	public String getCommentAgent() {
		return commentAgent;
	}
	public void setCommentAgent(String commentAgent) {
		this.commentAgent = commentAgent;
	}
	public String getCommentType() {
		return commentType;
	}
	public void setCommentType(String commentType) {
		this.commentType = commentType;
	}
	public long getCommentParent() {
		return commentParent;
	}
	public void setCommentParent(long commentParent) {
		this.commentParent = commentParent;
	}
	public long getUserId() {
		return userId;
	}
	public void setUserId(long userId) {
		this.userId = userId;
	}
	
	
}
